package com.sxhalo.fsms.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sxhalo.fsms.domain.UserPatrolItemRecord;
import com.sxhalo.fsms.domain.UserPatrolItemRecordKey;
import com.sxhalo.fsms.mapper.UserPatrolItemRecordMapper;
import com.sxhalo.fsms.service.IUserPatrolItemRecordService;

@Service
public class UserPatrolItemRecordServiceImpl implements IUserPatrolItemRecordService {

	@Autowired
	private UserPatrolItemRecordMapper mapper;
	
	@Override
	public Integer insertSelective(UserPatrolItemRecord record) {
		return mapper.insertSelective(record);
	}

	@Override
	public Integer updateByPrimaryKeySelective(UserPatrolItemRecord record) {
		return mapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public Integer deleteByPrimaryKey(Object key) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public UserPatrolItemRecord selectByPrimaryKey(Object key) {
		return mapper.selectByPrimaryKey((UserPatrolItemRecordKey)key);
	}

	@Override
	public List<UserPatrolItemRecord> findWhereList(String where, String order) {
		return mapper.findWhereList(where, order);
	}

	@Override
	public Integer getCount(String where) {
		return mapper.getCount(where);
	}

	@Override
	public List<UserPatrolItemRecord> findPagerList(Integer start, Integer length, String where, String order) {
		return mapper.findPagerList(start, length, where, order);
	}

	@Override
	public int insertOrUpdate(UserPatrolItemRecord record) {
		return mapper.insertOrUpdate(record);
	}
}
